// IBookManager.aidl
package com.zhuguowei.chapter_2_4.aidl;
import com.zhuguowei.chapter_2_4.aidl.Book;
//zgw-2017/12/1 16:34
import com.zhuguowei.chapter_2_4.aidl.IOnNewBookArrivedListener;

// Declare any non-default types here with import statements

interface IBookManager {

    List<Book> getBookList();
    void addBook(in Book book);
    //zgw-2017/12/1 16:34
    void registerListener(IOnNewBookArrivedListener listener);
    void unregisterListener(IOnNewBookArrivedListener listener);

}
